package com.ssyt.lms.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
public class UserInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	private Integer userID;
	private String userName;
	private Byte sex;
	private String account;
	private String password;
	private String phone;
	private String email;
	private RoleInfo roleInfo;
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date checkInTime;
	private Byte isDelete;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date alterTime;
	private String resetPassword;
	
	////////////设置查询所需的字段///////////
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endCheckInTime;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endAlterTime;
	

	public Date getEndCheckInTime() {
		return endCheckInTime;
	}
	public void setEndCheckInTime(Date endCheckInTime) {
		this.endCheckInTime = endCheckInTime;
	}
	public Date getEndAlterTime() {
		return endAlterTime;
	}
	public void setEndAlterTime(Date endAlterTime) {
		this.endAlterTime = endAlterTime;
	}
	public String getResetPassword() {
		return resetPassword;
	}
	public void setResetPassword(String resetPassword) {
		this.resetPassword = resetPassword;
	}
	public void setUserID(Integer userID){
		this.userID=userID;
	}
	public Integer getUserID(){
		return userID;
	}

	public void setUserName(String userName){
		this.userName=userName;
	}
	public String getUserName(){
		return userName;
	}

	public void setSex(Byte sex){
		this.sex=sex;
	}
	public Byte getSex(){
		return sex;
	}

	public void setAccount(String account){
		this.account=account;
	}
	public String getAccount(){
		return account;
	}

	public void setPassword(String password){
		this.password=password;
	}
	public String getPassword(){
		return password;
	}

	public void setPhone(String phone){
		this.phone=phone;
	}
	public String getPhone(){
		return phone;
	}

	public void setEmail(String email){
		this.email=email;
	}
	public String getEmail(){
		return email;
	}

	public void setCheckInTime(Date checkInTime){
		this.checkInTime=checkInTime;
	}
	public Date getCheckInTime(){
		return checkInTime;
	}

	public void setIsDelete(Byte isDelete){
		this.isDelete=isDelete;
	}
	public Byte getIsDelete(){
		return isDelete;
	}

	public void setAlterTime(Date alterTime){
		this.alterTime=alterTime;
	}
	
	public Date getAlterTime(){
		return alterTime;
	}
	
	public RoleInfo getRoleInfo() {
		return roleInfo;
	}
	
	public void setRoleInfo(RoleInfo roleInfo) {
		this.roleInfo = roleInfo;
	}
	
}

